Service Bus (1 / 27): You are developing a logging system that captures all messages in Azure Service Bus for auditing purposes. The system must store every single message without any filtering. Which filter type should you implement?
Answer:
A TrueFilter is a special filter that always returns true, meaning it selects all arriving messages without any conditions. In this scenario, where you need to capture every single message without any filtering, a TrueFilter is the appropriate choice, such as new TrueRuleFilter(). It ensures that all messages are selected for the subscription, fulfilling the requirement for complete logging.